/********************************************
* Copyrigt (C) rumi
* Module: view_desktopui.cpp
*********************************************/
#include "view_desktopui.h"

View_DesktopUI::View_DesktopUI(QWidget *parent)
    : QWidget(parent)
{
    DesktopUI_Design();

}

void View_DesktopUI::DesktopUI_Design(){

    MainUI_App_gridLayout = new QGridLayout(this);

    AppBtn_Auto = new QPushButton("Auto", this);
    AppBtn_Auto->setFixedSize(75, 75);
    MainUI_App_gridLayout->addWidget(AppBtn_Auto,0,0);

    AppBtn_ViewerInfo = new QPushButton("ViewerInfo", this);
    AppBtn_ViewerInfo->setFixedSize(75, 75);
    MainUI_App_gridLayout->addWidget(AppBtn_ViewerInfo,0,1);

    AppBtn_Setting = new QPushButton("Setting", this);
    AppBtn_Setting->setFixedSize(75, 75);
    MainUI_App_gridLayout->addWidget(AppBtn_Setting,0,2);

    connect(AppBtn_Auto, &QPushButton::clicked, this, &View_DesktopUI::switchToViewAuto);
    connect(AppBtn_ViewerInfo, &QPushButton::clicked, this, &View_DesktopUI::switchToViewInfo);

}

/********************************************
 * End of file
*********************************************/
